import {createRouter, createWebHistory, Router, RouterOptions} from 'vue-router'
import routes from './routes'
import LoginAuth from "@/Function/login/LoginAuth";

//@ts-ignore
const router: Router = createRouter(<RouterOptions>{
    history: createWebHistory(),
    routes: routes
})
LoginAuth.auth(router);
export default router;
